package com.ali.ttt.core.cocurrent;


/**
 * @author yuxl
 */
public interface CallbackTask<R> {

    R execute() throws Exception;

    void onBack(R r);

    void onException(Throwable t);
}
